@extends('admin.layout.index')
@section('content')

            <div class="row  border-bottom white-bg dashboard-header">
                <div class="col-sm-3">
                    <ul class="list-group clear-list m-t">
                        <li class="list-group-item fist-item">
                            <span class="pull-right">
                                {{ $result['user_num'] }}
                            </span>
                            <span class="label label-success">1</span> 注册用户数量
                        </li>
                        <li class="list-group-item">
                            <span class="pull-right">
                                {{ $result['collections_num'] }}
                            </span>
                            <span class="label label-info">2</span> 总作品
                        </li>
                        <li class="list-group-item">
                            <span class="pull-right">
                                {{ $result['galleries_num'] }}
                            </span>
                            <span class="label label-primary">3</span> 建馆数量
                        </li>
                        <li class="list-group-item">
                            <span class="pull-right">
                                {{ $result['votes_num'] }}
                            </span>
                            <span class="label label-default">4</span> 总点赞
                        </li>
                        <li class="list-group-item">
                            <span class="pull-right">
                                {{ $result['commonts_num'] }}
                            </span>
                            <span class="label label-primary">5</span> 总评论
                        </li>
                    </ul>
                </div>
            </div>


@endsection

@section('js')
<!-- Toastr -->
<script src="{{ Config::get('website.storage_url') }}/admin/js/plugins/toastr/toastr.min.js"></script>
    <script>
        $(document).ready(function() {
            setTimeout(function() {
                toastr.options = {
                    closeButton: true,
                    progressBar: true,
                    showMethod: 'slideDown',
                    timeOut: 4000
                };
                toastr.success('{{ Session::get('admin.user.groupname') }} {{ Session::get('admin.user.mobile') }}', '欢迎使用 {{ Config::get('app.app_name_cn') }}');
            }, 1300);
        });
    </script>
@endsection